import { createRouter, createWebHistory } from 'vue-router'
import Compute from '@/components/ComputeTax';
import Result from '@/components/ResultPage';

const routes = [
  {
    path: '/',
    name: 'compute',
    component: Compute
  },
  {
    path: '/result',
    name: 'result',
    component: Result
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
